package com.mingxi.backend.mapper;

import com.mingxi.backend.pojo.dto.UpdateSelectCourseDto;
import com.mingxi.backend.pojo.entity.SelectCourse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SelectCourseMapper {
    List<SelectCourse> getAll(String username);

    SelectCourse getById(int selectCourseId);

    void update(UpdateSelectCourseDto updateSelectCourseDto);

    List<SelectCourse> getCourseByTeacherId(int teacherId);
}
